<?php
class UserController extends CommonController{
	public function indexBefore(){
		$this->where="tel!=''";
		if(isset($_GET['keyword'])&&!empty($_GET['keyword'])){
			$keyword=filter($_GET['keyword']);
			$this->where.=" and (card like '%{$keyword}%' or tel like '%{$keyword}%')";
		}
	}
}